<template>
	<view>
		<!--首页-区块标题-->
		<view class='qukuai'>
		  <view class='qukuai-shuxian'></view>
		  <text class='qukuai-biaoti'>{{biaoti}}</text>
		</view>
		<view class="jianjie">
			<rich-text :nodes="jianjie"></rich-text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				biaoti:"",
				jianjie:"",
			}
		},
		onLoad:function(options){
			console.log(options)
			console.log(options.id)
			console.log(options.mc)
			
			this.biaoti = options.mc
		
			//获取产品信息 this.$WebURL.WebUrl.phpweb + "/h5/wx_api_CpXinxi.php"
			uni.request({
				url:this.$WebURL.WebUrl.phpweb + "/h5/wx_api_gywm.php",
				data:{
					id:options.id
				},
				success: (res) => {
					this.jianjie = res.data
				}
			})
			
		},
		methods: {
			
		}
	}
</script>

<style>

/*区块标题-最新产品*/
.qukuai {
  display: flex;
  margin: 2px;
  background-color: aliceblue;
  align-items: center;
}
.qukuai-shuxian {
  width: 3px;
  height: 15px;
  background-color: green;
  margin: 5px;
  box-shadow: 2px 2px 2px gainsboro;
}
.qukuai-biaoti {
  color: gray;
  text-shadow: 2px 2px 2px gainsboro;
  flex: 1;
  margin-left: 1px;
  align-self: center;
}
.qukuai-gengduo {
  color: gray;
  text-shadow: 2px 2px 2px gainsboro;
}
.jianjie{padding: 5px;}
</style>
